package com.slz3.business.module.goodsManagement.gooBaseGoodsSpecification;

import com.slz3.business.module.goodsManagement.gooBaseGoodsSpecification.steward.GooBaseGoodsSpecificationResponse;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.function.server.ServerRequest;
import org.springframework.web.reactive.function.server.ServerResponse;
import reactor.core.publisher.Mono;

import javax.annotation.Resource;

@Component
@Order(0)
public class GooBaseGoodsSpecificationHandler {

    @Resource
    private GooBaseGoodsSpecificationResponse gooBaseGoodsSpecificationResponse;

    public Mono<ServerResponse> add(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.add(req);
    }

    public Mono<ServerResponse> delete(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.delete(req);
    }

    public Mono<ServerResponse> modify(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.modify(req);
    }

    public Mono<ServerResponse> list(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.list(req);
    }

    public Mono<ServerResponse> info(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.info(req);
    }

    public Mono<ServerResponse> choice(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.choice(req);
    }

    public Mono<ServerResponse> findByFkGooBaseGoodsUuid(ServerRequest req){
        return gooBaseGoodsSpecificationResponse.findByFkGooBaseGoodsUuid(req);
    }

    public Mono<ServerResponse> auditSubmit(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.auditSubmit(req);
    }

    public Mono<ServerResponse> audit(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.audit(req);
    }

    public Mono<ServerResponse> auditReject(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.auditReject(req);
    }

    public Mono<ServerResponse> usingEnable(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.usingEnable(req);
    }

    public Mono<ServerResponse> usingDisable(ServerRequest req) {
        return gooBaseGoodsSpecificationResponse.usingDisable(req);
    }

}
